/**
 * serverUrl 服务地址
 * router 借口配置
 * token 
 */

var serverUrl = 'http://116.196.96.125:8080';
var basePath = 'http://116.196.96.125:8080';
// 一般我们在plusready的回调事件里调用plus api
var token = '';
mui.plusReady(function () {
	token = plus.storage.getItem('token');
	console.log(token);
});
var router = {
    login: basePath + "/login?token=" + token, // 登录
    address: { // 地址
        list: basePath + "/address/list?token=" + token,
        del: basePath + "/address/delete?token=" + token
    },
    addAddress: { // 地址编辑
        edit: basePath + "/address/getByAddressId?token=" + token,
        update: basePath + "/address/update?token=" + token
    }
}